package com.space.school.service.impl;

import com.space.school.dao.LoginDao;
import com.space.school.dao.impl.LoginDaoImpl;
import com.space.school.domain.User;
import com.space.school.service.LoginService;

public class LoginServiceImpl implements LoginService {
    LoginDao loginDao = new LoginDaoImpl();
    @Override
    public boolean login(String username, String password) {
        return loginDao.login(username,password);
    }

    @Override
    public boolean usernameIsEmpty(String username) {
        return loginDao.usernameIsEmpty(username);
    }
}
